<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="div">1</div>
</body>

</html>

<style>
    .div {
        background-color: #f5f5f5;
        width: 200px;
        height: 200px;
        border-right: 1px solid;
        border-image: linear-gradient(to bottom, #E02020 0%, #E02020 33.33%, #E02020 66.66%, #E02020 100%);
    }
</style>